package br.com.amadeus.android.entities;

import java.util.Date;

public class Task {
	private int id;
	private String beginDate;
	private String endDate;
	private boolean resolved;
	private Action action;
	private Resource resource;
	private Goal goal;

	public Task(int id) {
		super();
		this.id = id;
	}



	public Task(int id, String beginDate, String endDate, boolean resolved,
			Action action, Resource resource, Goal goal) {
		super();
		this.id = id;
		this.beginDate = beginDate;
		this.endDate = endDate;
		this.resolved = resolved;
		this.action = action;
		this.resource = resource;
		this.goal = goal;
	}



	public boolean isResolved() {
		return resolved;
	}

	public void setResolved(boolean resolved) {
		this.resolved = resolved;
	}

	public Goal getGoal() {
		return goal;
	}

	public void setGoal(Goal goal) {
		this.goal = goal;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getBeginDate() {
		return beginDate;
	}

	public void setBeginDate(String beginDate) {
		this.beginDate = beginDate;
	}

	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}

	public Action getAction() {
		return action;
	}

	public void setAction(Action action) {
		this.action = action;
	}

	public Resource getResource() {
		return resource;
	}

	public void setResource(Resource resource) {
		this.resource = resource;
	}

}
